<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
   *{
    margin: 0;
    padding: 0;
   }
   .w{
    width:1200px;
    margin: auto;
   }
   .header{
    height: 42px;
    /* background-color: blanchedalmond; */
    margin: 30px auto;
   }
   .logo{
    float: left;
    width: 198px;
    height: 42px;
    /* background-color: purple; */
   }
   body{
    background-color: #f3f5f7;

   }
   a{
    /* 去除下划线 */
    text-decoration: none;
   }
   .clearfix::before,.clearfix::after{
    content: "";
    display: table;
   }
   .clearfix::after{
    clear: both;
   }
   .clearfix{
    *zoom:1;
   }
   li{
    list-style: none;
   }
   .nav{
    float: left;
    margin-left: 60px;
   }
   .nav ul li {
    float: left;
    margin: 0 15px;
   }
   .nav ul li a{
    /* 转换为块级元素 */
    display: block;
    height: 42px;
    padding:  0 10px;
    /* 行高等于宽 */
    line-height: 42px;
    font-size: 18px;
    color: #050505;
   }
   .nav ul li a:hover{
    border-bottom: 2px solid #00a4ff;
    color: #00a4ff;
   }
   .search{
    float: left;
    width: 412px;
    height: 42px;
    /* background-color: skyblue; */
    margin-left: 70px;
   }
   .search input{
    float: left;
    width: 345px;
    height: 40px;
    border: 1px solid #00a4ff;
    border-right: 0;
    color: #bfbfbf;
    font-size: 14px;
    padding-left: 15px;
   }
   .search button{
    float: left;
    width: 50px;
    height: 42px;
    background: url(fa-search\ 拷贝.png);
    /* 按钮button默认有个边框需要手动去掉 */
    border: 0;
   }
   .user
   {
    float: right;
    line-height: 42px;
    margin-right:30px;
    font-size: 14px;
    color: #666;
   }

   /* banner区域 */
   .banner{
    height: 421px;
    background-color: #1c036c;
   } 
   .banner .w{
    height: 421px;
    /* no-repeat背景不重复  让盒子垂直靠上，水平对齐*/
    background: url(banner2.png)  no-repeat  top center;
   }
   .subnav{
    float: left;
    width: 190px;
    height: 421px;
    background:rgba(0, 0, 0,0.3);
   }
   .subnav ul li{
    height: 45px;
    line-height: 45px;
    padding: 0 20px ;
   }
   .subnav ul li a{
    font-size: 14px;
    color: #fff;
    
   }
   .subnav ul li a:hover{
    color: #00a4ff;
   }
   .subnav ul li a span{
    float: right;
   }
  .course{
    float: right;
    width: 230px;
    height: 300px;
    background-color: #fff;
    /* 浮动的盒子不会有外边距合并的问题 */
    margin-top: 50px;
   
  }
  .course h2{
    text-align: center;
    height: 48px;
    background-color: #9bceea;
    line-height: 48px;
    font-size: 18px;
    color: #fff;
  }
  .bd{
    margin: 0 20px;
  }
  .bd a{
    margin: 0 auto;
  }
  .bd ul li{
    margin: 14px 0;
    border-bottom: 1px solid #ccc;
  }
  .bd ul li h4{
    font-size: 16px;
    color: #4e4e4e;
  }
  .bd ul li p{
    font-size: 15px;
    color: #a5a5a5;
  }
  .bd .more{
    /* 行内元素转换为块级元素 */
    display: block;
    height: 38px;
    margin-top: 5px;
    border: 1px solid #00a4ff;
    /* 水平居中 */
    text-align: center;
    /* 垂直居中 */line-height: 38px;
    color: #00a4ff;
    font-size: 16px;
  }
  /* 精品推荐 */
  .goods{
    height: 60px;
    background-color: #fff;
    margin-top: 10px;
    box-shadow: 0 2px 3px 3px rgba(0, 0, 0,0.1);
    /* 行高会继承给三个孩子 */
    line-height: 60px; 
  }
  .goods h3{
    float: left;
    margin-left: 30px;
    font-size: 16px;
    color: #00a4ff;
  }
  .goods ul{
    float: left;
    margin-left: 30px;
  }
  .goods ul li{
   float: left;
  }
  
  .goods ul  li  a{
    padding: 0 30px;
    font-size: 16px;
    color: #050505;
    border-left: 1px solid #ccc;
  }
  .mod{
    float: right;
    margin-right:30px ;
    font-size: 14px;
    color: #00a4ff;
  }
  .box{
    margin-top:30px ;
  }
  .box-hd{
    height: 45px;
  }
  .box-hd h3{
    float: left;
    font-size: 20px;
    color: #494949;
  }
  .box-hd a{
    float: right;
    font-size: 12px;
    color: #a5a5a5;
    margin-top: 10px;
    margin-right: 30px;
  }
  .box-bd{
    width: 1225px;
  }
  /* 把li的父亲ul 修改的足够宽一行可以装5个盒子就可以 */
  .box-bd ul li{
    position: relative;
    width: 228px;
    height: 270px;
    background-color: #fff;
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
  }
  .box-bd ul > img{
    width: 100%;
  }
  .box-bd ul li em{
    position:absolute;
    top: 4px;
    right: -4px;
  }
  .box-bd ul li h4{
    margin: 20px 20px 20px 25px;
    font-size: 14px;
    color: #050505;
  }
   .box-bd .info{
    margin: 0 20px 0 25px ;
    font-size: 12px;
    color: #999;
   }
  .box-bd  span{
    color: #ff7c2d;
  }
  .footer{
    background-color: #fff;
    clear: both;
    height: 415px;
  }
  .footer .w{
    padding-top: 35px;
  }
  .copyright{
    float: left;
  }
  .copyright p{
    font-size: 12px;
    color: #666;
    margin: 20px 0 15px 0;
  }
  .copyright .app{
    /* 行内元素转块级元素 */
    display: block;
    width: 118px;
    height: 33px;
    border: 1px solid #00a4ff;
    /* 水平居中 */
    line-height: 33px;
    /* 垂直居中 */
    text-align: center;
    color: #00a4ff;
    font-size: 16px;
  }
  .links{
    float: right;
  }
 .links dl{
  float: left;
  margin-left: 100px;
 }
  .links dl dt{
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
  }
  .link dl dd a{

    color: #333;
    font-size: 12px;
  }
  </style>
</head>
<body>
    <!-- 头部区域开始 -->
   <div class="header w">
        <div class="logo">
            <img src="../css浮动/logo_03.png" title="logo">
        </div>
        <!-- 导航栏 -->
        <div class="nav">
            <ul>
                <li><a href="#">首页</a></li>
                <li><a href="#">课程</a></li>
                <li><a href="#">职业规划</a></li>
            </ul>
        </div>
        <!-- 搜索模块 -->
        <div class="search">
            <input type="text" value="输入关键词">
            <button><img src="btn.png" alt=""></button>
        </div>
        <div class="usear">
            <img src="user.png" alt="">
            qq-lilie
        </div>
   </div>

   <!-- banner部分 -->
   <div class="banner">
        <div class="w">
            <div class="subnav">
                <ul>
                    <li>
                        <a href="#">前端开发<span>&gt;</span></a>
                    </li>
                    <li><a href="#">后端开发<span>&gt;</span></a>
                    </li>
                    <li>
                        <a href="#">移动开发<span>&gt;</span></a>
                    </li>
                    <li>
                        <a href="#">人工智能<span>&gt;</span></a>
                    </li>
                    <li>
                        <a href="#">商业预测<span>&gt;</span></a>
                    </li>
                    <li>
                        <a href="#">云计算&大数据<span>&gt;</span></a>
                    </li>
                    <li>
                        <a href="#">运维&从测试<span>&gt;</span></a>
                    </li>
                    <li>
                        <a href="#">UI设计<span>&gt;</span></a>
                    </li>
                    <li>
                        <a href="#">产品<span>&gt;</span></a>
                    </li>
                </ul>
            </div>
            <!-- 课程表模块 -->
            <div class="course">
                <h2>我的课程表</h2>
                <div class="bd">
                    <ul>
                        <li>
                            <h4>继续学习，程序语言设计</h4><p>正在学习——使用对象</p>
                        </li>
                        <li>
                            <h4>继续学习，程序语言设计</h4><p>正在学习——使用对象</p>
                        </li>
                        <li>
                            <h4>继续学习，程序语言设计</h4><p>正在学习——使用对象</p>
                        </li>
                    </ul>
                    <a href="#" class="more">全不课程</a>
                </div>
                </div>
            </div>
        </div>
   </div>
   <!-- 精品推荐 -->
   <div class="goods  w">
        <h3>精品推荐</h3>
        <ul>
            <li><a href="#">jQuery</a></li>
            <li><a href="#">Spark</a></li>
            <li><a href="#">Mysql</a></li>
            <li><a href="#">javaweb</a></li>
            <li><a href="#">jQuery</a></li>
            <li><a href="#">javaweb</a></li>
        </ul>
        <a href="#" class="mod">修改兴趣</a>
   </div>
   <!-- 核心内容区域 -->
   <div class="box w">
      <div class="box-hd">
        <h3>精品推荐</h3>
        <a href="#">查看全部</a>
      </div>
      <div class="box-bd">
          <ul class="clerfix">
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
            <li>
              <em>
                <img src="HOT.png" alt="">
              </em>
              <img src="pic.png" alt="">
              <h4>
                Think PHP 5.0  博客系统实战项目演练
              </h4>
              <div class="info">
                <span>高级</span> ·1125人在线学习
              </div>
            </li>
          </ul>
      </div>
   </div>
   <div class="footer">
      <div class="w">
        <div class="copyright">
          <img src="学成在线.png" alt="">  
            <p>学成在线致力于普及中国最好的教育它与中国一流大学和机构合作提供在线课程。<br>
              © 2017年XTCG Inc.保留所有权利。-沪ICP备15025210号</p>
              <a href="#" class="app">下载APP</a>
        </div>
        <div class="links">
            <dl>
              <dt><a href="#">关于学成网</a> </dt>
              <dd><a href="#">关于</a> </dd>
              <dd><a href="#">管理团队</a> </dd>
              <dd><a href="#">工作机会</a> </dd>
              <dd><a href="#">客户服务</a> </dd>
              <dd><a href="#">帮助</a> </dd>
            </dl>
            <dl>
              <dt><a href="#">关于学成网</a> </dt>
              <dd><a href="#">关于</a> </dd>
              <dd><a href="#">管理团队</a> </dd>
              <dd><a href="#">工作机会</a> </dd>
              <dd><a href="#">客户服务</a> </dd>
              <dd><a href="#">帮助</a> </dd>
            </dl>
            <dl>
              <dt><a href="#">关于学成网</a> </dt>
              <dd><a href="#">关于</a> </dd>
              <dd><a href="#">管理团队</a> </dd>
              <dd><a href="#">工作机会</a> </dd>
              <dd><a href="#">客户服务</a> </dd>
              <dd><a href="#">帮助</a> </dd>
            </dl>
         
        </div>
      </div>
   </div>
</body>
</html>